package com.zjnx.train.service;

import java.util.List;

import com.zjnx.train.entity.User;

/**
 * @author foo
 * @email foo@zjnx.com
 * @description:service接口
 */
public interface UserService {
  void save(User user);

  void update(User user);

  void delete(Long id);

  User findByKey(Long id);

  List<User> findAll();
}
